package com.aspose.cells;

import java.util.Iterator;

class zvc extends zbz {
   zvc() {
      this.c(2152);
   }

   void a(ErrorCheckOption var1) {
      this.a((short)(var1.a.size() * 8 + 31));
      this.c = new byte[this.d()];
      byte var2 = 0;
      this.c[var2] = 104;
      this.c[var2 + 1] = 8;
      int var5 = var2 + 12;
      this.c[var5] = 3;
      var5 += 7;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.a.size()), 0, this.c, var5, 2);
      var5 += 2;
      this.c[var5] = 4;
      var5 += 6;

      for(Iterator var3 = var1.a.iterator(); var3.hasNext(); var5 += 8) {
         CellArea var4 = (CellArea)var3.next();
         System.arraycopy(com.aspose.cells.b.a.zc.a(var4.StartRow), 0, this.c, var5, 2);
         System.arraycopy(com.aspose.cells.b.a.zc.a(var4.EndRow), 0, this.c, var5 + 2, 2);
         System.arraycopy(com.aspose.cells.b.a.zc.a(var4.StartColumn), 0, this.c, var5 + 4, 2);
         System.arraycopy(com.aspose.cells.b.a.zc.a(var4.EndColumn), 0, this.c, var5 + 6, 2);
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.b), 0, this.c, var5, 2);
      var5 += 4;
   }
}
